package com.kws.merchant.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Pattern;

/**
 * @author : zhangbenting
 * @date : 2024/11/20 17:10
 * @Version: 1.0
 */
@Data
public class AccountManagementVo {

    @ApiModelProperty("用户头像")
    private String headImg;

    @ApiModelProperty("账号")
    private String account;

    @ApiModelProperty("用户名称")
    private String userName;

    @ApiModelProperty("用户手机号")
    @Pattern(regexp = "^1(3|4|5|7|8|9)\\d{9}$",message = "手机号码格式错误")
    private String phone;

    @ApiModelProperty("用户性别（0男 1女 2未知）")
    private String sex;

    @ApiModelProperty("认证类型(0实名认证 1合作伙伴认证)")
    private Integer authType;
}
